package cc.yugu.yhdw.common.domain.hdw;

import cc.yugu.yhdw.common.domain.IntIdEntity;
import cc.yugu.yhdw.common.entity.json.DateTimeSerializer;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.Date;

/**
 * 提现
 */
public class WithdrawCash extends IntIdEntity {
    protected Integer orgType; //单位类型 1 柜子厂商 2 电源厂商 3 电池厂商 4 代理商 5 运营商
    protected Integer orgId; //单位id
    protected Integer money; //金额 按分计算
    protected String snapshotPath; //截图
    protected Date createTime;//

    protected String orgTypeName;//
    protected String orgIdName;//

    public Integer getOrgType() {
        return orgType;
    }

    public void setOrgType(Integer orgType) {
        this.orgType = orgType;
    }

    public Integer getOrgId() {
        return orgId;
    }

    public void setOrgId(Integer orgId) {
        this.orgId = orgId;
    }

    public Integer getMoney() {
        return money;
    }

    public void setMoney(Integer money) {
        this.money = money;
    }

    public String getSnapshotPath() {
        return snapshotPath;
    }

    public void setSnapshotPath(String snapshotPath) {
        this.snapshotPath = snapshotPath;
    }

    @JsonSerialize(using = DateTimeSerializer.class)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getOrgTypeName() {
        return orgTypeName;
    }

    public void setOrgTypeName(String orgTypeName) {
        this.orgTypeName = orgTypeName;
    }

    public String getOrgIdName() {
        return orgIdName;
    }

    public void setOrgIdName(String orgIdName) {
        this.orgIdName = orgIdName;
    }
}
